<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="icon" href="./static/img/favicon.png" type="image/x-icon"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>主页</title>
    <link rel="stylesheet" href="../static/layui/css/layui.css">
</head>
<body>
<!--导航栏-->

<ul class="layui-nav" lay-filter="" style="background-color: #F0F0F0;">
    <div style="padding-left: 100px">
        <li class="layui-nav-item"><a href="" style="color: black">Home</a></li>
        <li class="layui-nav-item layui-this"><a href="" style="color: black">技术</a></li>
        <li class="layui-nav-item"><a href="" style="color: black">杂文</a></li>
        <li class="layui-nav-item"><a href="" style="color: black">音乐</a></li>
        <li class="layui-nav-item"><a href="" style="color: black">探索</a></li>
    </div>
</ul>


<script src="../static/layui/layui.js"></script>
<script>
    //注意：导航 依赖 element 模块，否则无法进行功能性操作
    layui.use('element', function () {
        var element = layui.element;

        //…
    });
</script>
</body>
</html>